#include("../../common/_ztree.html")
<script type="text/javascript">
	$(document).ready(function() {
		_ztree("知识分类","docType",false,true,true,#(com.yj.auto.helper.AuthHelper::auth("doc/index", "all", session.SESSION_USER)));
		if(ztree_mgr_pv){
			var tempBtn=$("<button type='button' class='btn btn-link'><i class='fa fa-file-word-o'></i>&nbsp;&nbsp;文档管理</a></button>");
			$("#ztree_root_btn").after(tempBtn);
			tempBtn.click(function(){
				loadUri("worker","doc/index");
			});
		}
		
	});
</script>